package com.trg.designmodel.factory.Simplefactory.order;

/**
 * @ClassName: PizzaStore
 * @Description:
 * @Author: tangrg
 * @Date: 2021/7/1 10:37
 * @Version: 1.0
 * @Return:
 **/
public class PizzaStore {

    public static void main(String[] args) {
        //通用方法
//        new OrderPizza();
        //简单工厂方式
//        new OrderPizza(new SimpleFactory());
        //静态工厂的方式
        OrderPizza.setFactory2();
    }

}
